package main;

import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;
import javax.swing.*;

import javax.swing.BoxLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
/*
 * A level designed to show the elements
 */
public class ElementLabel extends JPanel {
	public ElementLabel(JRadioButton Type, String TagText) {
		this.setLayout(new BoxLayout(this, BoxLayout.PAGE_AXIS));
		setMinimumSize(new Dimension(75,200));
		this.setAlignmentX(Component.LEFT_ALIGNMENT);
		
		Font HeroesQuest = new Font("HeroesQuest", 1, 9);
		
		JLabel Tag = new JLabel();
	    Tag.setFont(HeroesQuest);
	    Tag.setText(TagText);
	    
	    add(Type);
	    add(Tag);
	    add(Box.createVerticalGlue());
	}
}